package tests;

import helpers.FinDate;

public class FinDateTest {
	@SuppressWarnings("unused")
	public FinDateTest() {
		FinDate d1 = new FinDate(1,2,2005); 
		FinDate d2 = new FinDate(1,2,2005); 
		FinDate d3 = new FinDate(15,2,2005); 
		FinDate d4 = new FinDate(1,2,2010);
		
		System.out.println("initialized = "+d1.isInitialized());
		
		System.out.println("D 1 = "+d1.getDay());
		System.out.println("M 1 = "+d1.getMonth());
		System.out.println("Y 2005 = "+d1.getYear());
		
		
		System.out.println("0 = "+d1.numberOfDaysTo(d2));
		System.out.println("14 = "+d1.numberOfDaysTo(d3));
		System.out.println("1826  = "+d1.numberOfDaysTo(d4));
		
		FinDate d5 = new FinDate(-1, 9 , 1);
	}
}
